package com.zhongge.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.zhongge.entity.Clazz;
import com.zhongge.entity.Teacher;
import com.zhongge.entity.TeacherClass;
import com.zhongge.mapper.TeacherClassMapper;
import com.zhongge.service.ITeacherClassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhongge
 * @since 2025-11-09
 */
@Service
public class TeacherClassServiceImpl extends ServiceImpl<TeacherClassMapper, TeacherClass> implements ITeacherClassService {
    @Autowired
    private TeacherClassMapper teacherClassMapper;
    @Override
    public List<Clazz> showAllClassInfo(Integer id) {
        return teacherClassMapper.showAllClassInfo(id);
    }
}
